package cn.cnic.user.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class SysParamsCache {




    // 图片路径(配置文件中 读取)
    public static String IMAGES_PATH;

    @Value("${syspara.imagesPath}")
    public void setImagesPath(String imagesPath) {
        IMAGES_PATH = imagesPath.replace("file:", "");
    }


}
